@import "~antd/lib/style/themes/default.less";

.tableList {
    .tableListOperator {
        margin-top: 8px;
        margin-bottom: 8px;

        a {
            margin-right: 8px;
        }

        button {
            margin-right: 8px;
        }

        .ant-btn-group {
            margin-right: 8px;
        }
    }
}

.tableListForm {
    margin-bottom: 10px !important;
    :global {
        .ant-form-item {
            display: flex;
            margin-right: 0;
            margin-bottom: 8px;

            > .ant-form-item-label {
                width: auto;
                padding-right: 8px;
                line-height: 32px;
            }

            .ant-form-item-control {
                line-height: 32px;
            }
        }

        .ant-form-item-control-wrapper {
            flex: 1;
        }
    }

    .submitButtons {
        display: block;
        margin-bottom: 8px;
        white-space: nowrap;
    }
}

@media screen and (max-width: @screen-lg) {
    .tableListForm :global(.ant-form-item) {
        margin-right: 8px;
    }
}

@media screen and (max-width: @screen-md) {
    .tableListForm :global(.ant-form-item) {
        margin-right: 8px;
    }
}
